package com.hospital.common.enums;

import lombok.Getter;

/**
 * 响应结果枚举类
 * @author yhn
 * @version 1.0
 */
@Getter
public enum ResultStatus {
    SUCCESS(1,"成功"),
    FAIL(0,"失败");
    final Integer code;
    final String msg;
    ResultStatus(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
